package com.xebest.web.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author 
 */
public class XeVenStoreReceiptEntity implements Serializable {
    /**
     * 自增主键
     */
    private Integer id;

    /**
     * 入库单号
     */
    private String receiptOrder;

    /**
     * 仓库编码
     */
    @NotEmpty(message = "仓库编码不能为空")
    private String storeId;

    /**
     * 供应商编码
     */
    private String userCode;

    /**
     * 关联单号
     */
    private String relationOrder;

    /**
     * 仓库名称
     */
    private String storeName;

    /**
     * 入库类型： 1 采购入库 2 调拨入库 3 销售退货入库 4 盘盈入库 5 初始化入库 6 其他入库
     */
    @NotEmpty(message = "入库类型")
    private Integer receiptType;

    /**
     * 入库状态： 1 已入库 2 已废弃
     */
    private Integer receiptStatus;

    /**
     * 打印状态：1未打印 2已打印
     */
    private Integer printStatus;

    /**
     * 制单人
     */
    private String createUser;

    /**
     * 制单时间/入库时间
     */
    private Date createDate;

    /**
     * 修改人
     */
    private String modifyUser;

    /**
     * 修改时间
     */
    private Date modifyDate;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 是否删除 1未删除 2已删除
     */
    private Integer delFlag;

    /**
     * 备注
     */
    private String remark;
    /**
     * 入库单商品明细
     */
    List<XeVenStoreReceiptDetailEntity> receiptDetailList;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReceiptOrder() {
        return receiptOrder;
    }

    public void setReceiptOrder(String receiptOrder) {
        this.receiptOrder = receiptOrder;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getRelationOrder() {
        return relationOrder;
    }

    public void setRelationOrder(String relationOrder) {
        this.relationOrder = relationOrder;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getReceiptType() {
        return receiptType;
    }

    public void setReceiptType(Integer receiptType) {
        this.receiptType = receiptType;
    }

    public Integer getReceiptStatus() {
        return receiptStatus;
    }

    public void setReceiptStatus(Integer receiptStatus) {
        this.receiptStatus = receiptStatus;
    }

    public Integer getPrintStatus() {
        return printStatus;
    }

    public void setPrintStatus(Integer printStatus) {
        this.printStatus = printStatus;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	/**  
	 * @return the receiptDetailList  
	 */
	
	public List<XeVenStoreReceiptDetailEntity> getReceiptDetailList() {
	
		return receiptDetailList;
	}

	/**  
	 * @param receiptDetailList the receiptDetailList to set  
	 */
	
	public void setReceiptDetailList(
			List<XeVenStoreReceiptDetailEntity> receiptDetailList) {
	
		this.receiptDetailList = receiptDetailList;
	}
    
    
}